package lab02.test01;

public class Address {
//定义属性
    String county;
    String province;
    String city;
    String street;
    String postcode;




    public static void main(String[] args) {
        Address a = new Address();
       a.county = "China";
        a.province = "Sichuan";
        a.city = "meishan";
        a.street = "xiaxijie";
        a.postcode = "620010";
        System.out.println(a.county+" " +a.province+" "+a.city+" "+a.street);
    }

}

